/*
 * @Author: MrDotYan 2564217790@qq.com
 * @Date: 2024-09-14 15:51:40
 * @LastEditors: MrDotYan 2564217790@qq.com
 * @LastEditTime: 2024-09-14 16:01:44
 * @FilePath: /webServerAdmin/src/components/EDesc/type.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { VNode } from "vue";

export enum LargeSize {
  normal = "",
  large = "large",
  default = "default",
  small = "small"
}
export type Size = LargeSize;

export enum Directions {
  vertical = "vertical",
  horizontal = "horizontal"
}
export type Direction = Directions;

export enum LabelAlign {
  left = "left",
  right = "right"
}

export type Align = LabelAlign;

/**
 * 详情描述参数
 */
export interface ColumnProps {
  label: string;
  prop: string;
  labelAlign?: Align;
  align?: Align;
  span?: number;
  width?: string | number;
  minWidth?: string | number;
  render?: (row: any) => VNode; // 自定义搜索内容渲染（tsx语法）
  [key: string]: any;
}
